<%@page import="java.util.List"%>
<%@ page contentType="text/html;charset=UTF-8"%>
<!DOCTYPE html>
<%@ include file="/WEB-INF/view-system/include/contentTaglib.jsp"%>

<html>
<head>
<title>对公正常还款（财务）</title>
	<script src="${ctxStaticSystem }/js/dataexport/exportRepayRecord.js" type="text/javascript" ></script>
	<script src="${ctxStaticSystem }/js/dataexport/caiwuExportReport.js" type="text/javascript" ></script>
	<link href="${ctx}/static-system/css/staff/staff.css" rel="stylesheet" type="text/css"/>
	<link href="${ctxStaticSystem }/css/roleManage/roleManage.css" rel="stylesheet" type="text/css"/>
	<link href="${ctxStaticSystem }/css/customer/caiwuRepay.css" rel="stylesheet" type="text/css"/>
</head> 
<body>
<tags:dataSet id="exportRepayRecord">
	<tags:dataField name="pubrepayId" display="贷款编号" visiable="false" sort="false"  cssClass="table-header-center" width="25%"/>
	<tags:dataField name="loanNo" display="贷款编号"  sort="false"  cssClass="table-header-center" width="25%"/>
	<tags:dataField name="customerName" display="客户姓名"  sort="false" width="25%" cssClass="table-header-center"/>
	<tags:dataField name="customerIdcard" display="身份证号码" sort="false" visiable="false" cssClass="table-header-center"/>
	<tags:dataField name="mthRepayDate" display="还款日期" sort="false" visiable="false" width="25%" cssClass="table-header-center"/>
	<tags:dataField name="tranTime" display="交易日期" sort="false" width="25%" cssClass="table-header-center"/>
	<tags:dataField name="doRepayNum" display="还款期数" sort="false" width="25%" cssClass="table-header-center"/>
	<tags:dataField name="tranAmt" display="还款金额" sort="false" width="25%" cssClass="table-header-center"/>
	<tags:dataField name="customerBank" display="客户账户" sort="false" width="25%" cssClass="table-header-center"/>
	<tags:dataField name="chanName" display="渠道" sort="false" width="25%" cssClass="table-header-center"/>
	<tags:dataField name="customerTel" display="手机号" sort="false" visiable="false" cssClass="table-header-center"/>
	<tags:dataField name="pubrepayStatus" display="处理状态" sort="false" visiable="false" cssClass="table-header-center"/>
	<tags:dataField name="pubrepayStatusZW" display="处理状态" sort="false" visiable="false" width="25%" cssClass="table-header-center"/>
	<tags:dataField name="dkStatus" display="还款状态" sort="false" visiable="false" width="25%" cssClass="table-header-center"/>
	<tags:dataField name="dkStatusZw" display="还款状态" sort="false" width="25%" cssClass="table-header-center"/>
	<tags:dataField name="updateTime" display="更新时间 " sort="false" width="25%" cssClass="table-header-center"/>
	<tags:dataField name="operaterName" display="登记人 " sort="false" width="25%" cssClass="table-header-center"/>
</tags:dataSet>

<tags:ajax id="queryRepayRecordListAjax" url="${ctx}/sms/queryRepayRecord/queryFinanceList" type="post"
	contentType="application/x-www-form-urlencoded" formQuery="#repayRecordQueryFrm" formSubmit="true"
	autoSend="false"/>
<tags:ajax id="exportExcelAllAjax" url="${ctx}/sms/queryRepayRecord/queryFinanceList" type="post"
 	contentType="application/x-www-form-urlencoded" 
    autoSend="false" onSuccess="onFinanceExportAllSucc"/>
<tags:ajax id="exportExcelAjax" url="${ctx}/sms/queryRepayRecord/queryFinanceList" type="post"
 	contentType="application/x-www-form-urlencoded" formQuery="#repayRecordQueryFrm" formSubmit="true" 
    autoSend="false" onSuccess="onFinanceExportSucc"/>
<tags:ajax id="unnormalAmtAjax" url="${ctx }/sms/register/hasOtherAmt" type="post"
	autoSend="false" onSuccess="unnormalAjaxSucc"/>
<tags:boards>
	<tags:board boardTitle="对公正常还款（财务）" width="100%">
	<div class="form-horizontal minH">
		<div class=" form-group">
			<form id="repayRecordQueryFrm">
				<!-- 用于区分是财务还是其他 -->
				<input type="hidden" name="" value="">
		  		<div class="col-md-4 out">
		  			<div class="col-md-3 item">
		  				<label>贷款编号：</label>
		  			</div>
					<div class="col-md-9">
						<input name="loanNo" class="form-control" id="loanNo" type="text">
					</div>	
				</div>
				<div class="col-md-4 out">
		  			<div class="col-md-3 item text-right">
		  				<label>客户姓名：</label>
		  			</div>
					<div class="col-md-9">
						<input name="customerName" class="form-control" id="customerName" type="text">
					</div>	
				</div>
				<div class="col-md-4 out">
					<div class="col-md-3 item text-right">
					 	<label >还款状态：</label>
					 </div>
					<div class="col-md-9">
						<tags:dropcode id="dkStatus" codeType="repayDgStatus" className="form-control"
							name="dkStatus" showSelectAll="true"
							onSuccess="caiwuState"/>
		  			</div>
		  		</div>
		  		<div class="col-md-4 out">
		  			<div class="col-md-3 item">
					 	<label >开始时间：</label>
					 </div>
					<div class="col-md-9">
						<tags:datepicker dateFormat="yyyy-MM-dd" name="startDate" 
							dateType="date" id="startDate" readonly="true"/>
		  			</div>
		  		</div>
		  		<div class="col-md-4 out">
		  			<div class="col-md-3 item text-right">
					 	<label >结束时间：</label>
					 </div>
					<div class="col-md-9">
						<tags:datepicker dateFormat="yyyy-MM-dd" name="endDate" 
							dateType="date" id="endDate" readonly="true"/>
		  			</div>
		  		</div>
				<div class="col-md-12 btnArea out">
				   	<button class="btn btn-warning m-btn" type="button" onclick="query()">查询</button>
				   	<button class="btn m-btn" type="reset">重置</button>
				  	<button class="btn btn-info m-btn" type="button" onclick="caiwuConditionExport()">导出excel</button>
<!-- 				  	<button class="btn btn-success m-btn" type="button" onclick="onFinanceExportAllSucc()">全部导出</button> -->
				 </div>
				<br>
				<div data-tag="财务对公正常还款" class="form-horizontal">
					<tags:datatable id="RepayRecordTable" storage="false"  
						ajax="queryRepayRecordListAjax" dataSet="exportRepayRecord" 
						pagination="RepayRecordPagination" striped="true" automatic="false"
						cutLine="true" onDoubleClick="onDoubleClick"/>
					<tags:pagination pageSize="10" id="RepayRecordPagination" 
					pageChoice="10" datatable="RepayRecordTable"/>	
				</div>
			</form>	 
			</div>
		</div>
	</tags:board>
</tags:boards>
</body>
	
</html>